package com.zx.mapper;

import com.zx.pojo.SmbmsBill;
import com.zx.pojo.SmbmsRole;

import java.util.List;

/**
* @author 1477507994
* @description 针对表【smbms_role】的数据库操作Mapper
* @createDate 2021-12-15 19:59:51
* @Entity com.zx.pojo.SmbmsRole
*/
public interface SmbmsRoleMapper {
    /**
     * 查询所有用户
     */
    public List<SmbmsRole> findAllByUsers1();

    /**
     * 详情
     *
     * @param uid
     * @return
     */
    public SmbmsRole findUsersById(Long uid);

    /**
     * 添加用户
     *
     * @param user
     * @return
     */
    public boolean addUsers(SmbmsRole user);

    /**
     * 修改用户
     *
     * @param user
     * @return
     */
    public boolean updateUsers(SmbmsRole user);

    /**
     * 删除用户
     *
     * @param uid
     * @return
     */
    public boolean delUsers(Long uid);

}




